\section{Source/Surface.h}


\begin{footnotesize}\begin{alltt}
00001 \textcolor{preprocessor}{#ifndef SURFACE\_HEADER}
00002 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define SURFACE\_HEADER}
00003 \textcolor{preprocessor}{}
00004 \textcolor{preprocessor}{#include <SDL/SDL.h>}
00005 \textcolor{preprocessor}{#include <SDL/SDL\_image.h>}
00006 
00007 \textcolor{comment}{/* Function prototypes */}
00008 \textcolor{keywordtype}{void} Surface\_DrawPixel(SDL\_Surface *surface, \textcolor{keywordtype}{int} x, \textcolor{keywordtype}{int} y, Uint32 pixel);
00009 Uint32 Surface\_ReadPixel(SDL\_Surface *surface, \textcolor{keywordtype}{int} x, \textcolor{keywordtype}{int} y);
00010 SDL\_Surface *Surface\_ScaleSurfaceFast(SDL\_Surface *Surface, Uint16 Width, Uint16 
      Height);
00011 SDL\_Surface *Surface\_RotateSurface(SDL\_Surface *Surface, \textcolor{keywordtype}{float} RotationAngle, \textcolor{keywordtype}{int
      } Crop); \textcolor{comment}{/* If Crop is set to 1 the returned surface is cropped into a circle */}
00012 
00013 \textcolor{preprocessor}{#endif}
\end{alltt}\end{footnotesize}
